import request from '@/utils/request'
import { ResultJobInfoVo, DeepRequired } from '../../interface'

/**
 * 求职者根据Id获取job
 * /job/info/{id}
 */
export function getJobInfoById(params: GetJobInfoByIdParams) {
  return request.get<DeepRequired<ResultJobInfoVo>>(`/job/info/${params.id}`)
}

interface GetJobInfoByIdParams {
  id: number
}
